import React, {Component} from 'react';
import {Provider, connect} from 'react-redux';
import AppNavigator from './navigations/AppNavigator';
import store from './store'
import {createAppContainer} from 'react-navigation';

let Navigation = createAppContainer(AppNavigator);

export default class App extends Component {
    render() {
        /** * 将store传递给App框架 */
        return (
            <Provider store={store}>
                <Navigation />
            </Provider>
        )    
    }
}
